package com.example.su_shi_tan_home.child

import android.content.Context
import android.view.View
import com.example.su_shi_tan_bas_lib.utils.PixUtils
import com.example.su_shi_tan_home.R
import com.lxj.xpopup.core.CenterPopupView

class ActivationErrorPop (context: Context): CenterPopupView(context) {

    override fun getImplLayoutId(): Int {
        return R.layout.activation_error_pop
    }

    override fun getMinimumHeight(): Int {
        return PixUtils.dp2px(160)
    }

    override fun onCreate() {
        super.onCreate()
        findViewById<View>(R.id.mSure).setOnClickListener { dismiss() }
    }

}